<?php
/* @var $this ExitdetailsController */
/* @var $model Exitdetails */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'exitdetails-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'CapacityHorizontalExit'); ?>
		<?php echo $form->textField($model,'CapacityHorizontalExit'); ?>
		<?php echo $form->error($model,'CapacityHorizontalExit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CapacityExitStair'); ?>
		<?php echo $form->textField($model,'CapacityExitStair'); ?>
		<?php echo $form->error($model,'CapacityExitStair'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NoOfExits'); ?>
		<?php echo $form->textField($model,'NoOfExits'); ?>
		<?php echo $form->error($model,'NoOfExits'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Remote'); ?>
		<?php echo $form->textField($model,'Remote'); ?>
		<?php echo $form->error($model,'Remote'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'LocationOfExits'); ?>
		<?php echo $form->textField($model,'LocationOfExits',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'LocationOfExits'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'AnyEnclosureProvided'); ?>
		<?php echo $form->textField($model,'AnyEnclosureProvided'); ?>
		<?php echo $form->error($model,'AnyEnclosureProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ExitsAvailable'); ?>
		<?php echo $form->textField($model,'ExitsAvailable'); ?>
		<?php echo $form->error($model,'ExitsAvailable'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FireDoorsProvided'); ?>
		<?php echo $form->textField($model,'FireDoorsProvided'); ?>
		<?php echo $form->error($model,'FireDoorsProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'SelfClosing'); ?>
		<?php echo $form->textField($model,'SelfClosing'); ?>
		<?php echo $form->error($model,'SelfClosing'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'PanicHardware'); ?>
		<?php echo $form->textField($model,'PanicHardware'); ?>
		<?php echo $form->error($model,'PanicHardware'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DischargeExits'); ?>
		<?php echo $form->textField($model,'DischargeExits',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'DischargeExits'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ExitWidth'); ?>
		<?php echo $form->textField($model,'ExitWidth'); ?>
		<?php echo $form->error($model,'ExitWidth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NoOfStairs'); ?>
		<?php echo $form->textField($model,'NoOfStairs'); ?>
		<?php echo $form->error($model,'NoOfStairs'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'StairWidth'); ?>
		<?php echo $form->textField($model,'StairWidth'); ?>
		<?php echo $form->error($model,'StairWidth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'StairType'); ?>
		<?php echo $form->textField($model,'StairType',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'StairType'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'StairConstruction'); ?>
		<?php echo $form->textField($model,'StairConstruction',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'StairConstruction'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'StairEnclosureProvided'); ?>
		<?php echo $form->textField($model,'StairEnclosureProvided'); ?>
		<?php echo $form->error($model,'StairEnclosureProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'StairFireDoorsProvided'); ?>
		<?php echo $form->textField($model,'StairFireDoorsProvided'); ?>
		<?php echo $form->error($model,'StairFireDoorsProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'StairOtherDetails'); ?>
		<?php echo $form->textArea($model,'StairOtherDetails',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'StairOtherDetails'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->